//
//  CompereShowView.h
//  RainbowFM
//
//  Created by Kratos on 14/12/11.
//  Copyright (c) 2014年 RB. All rights reserved.
//  主持人风采

#import <UIKit/UIKit.h>
#import <SwipeView/SwipeView.h>

@class CompereShowView;
@protocol CompereShowViewDelegate <NSObject>

@optional
/**
 * 点击的位置
 * @param index 位置
 * @return
 * @author Kratos
 */
- (void)didSelectItemAtIndex:(NSInteger)index view:(CompereShowView *)view;

/**
 * 滑动位置变化
 * @param index 改变后的位置
 * @return
 * @author Kratos
 */
- (void)currentItemIndexDidChange:(NSInteger)index view:(CompereShowView *)view;


@end




@interface CompereShowView : UIView
@property (weak, nonatomic) IBOutlet SwipeView *showScrollView;
@property (weak, nonatomic) id<CompereShowViewDelegate> delegate;

/**
 * 风采
 * @param partnersData 展示信息
 * @return
 * @author Kratos
 */
-(void)updateCompereShowData:(NSArray *)showData;
@end
